extensions: gegl-fixups: mark unused functions with attribute
authorRoman Lebedev <lebedev.ri@gmail.com>
Sun, 21 Aug 2016 11:08:37 +0000 (14:08 +0300)
committerJehan <jehan@girinstud.io>
Fri, 26 Aug 2016 01:32:05 +0000 (03:32 +0200)
extensions/gegl-fixups.c

index c1f91caf05fcef257129556004ec98ae35a586ff..a27915e1147f96e7b4cd3d139e4d352d580f3131 100644 (file)
@@ -181,7 +181,7 @@ conv_F_8g (unsigned char *src, unsigned char *dst, long samples)
 }
 
 
-static INLINE long
+static INLINE long __attribute__((unused))
 conv_8_F (unsigned char *src, unsigned char *dst, long samples)
 {
   long n = samples;
@@ -226,7 +226,7 @@ conv_rgbaF_rgb8 (unsigned char *src, unsigned char *dst, long samples)
 }
 
 
-static INLINE long
+static INLINE long __attribute__((unused))
 conv_rgbaF_rgba8 (unsigned char *src, unsigned char *dst, long samples)
 {
   long n = samples;
@@ -258,14 +258,14 @@ conv_rgbaF_rgba8 (unsigned char *src, unsigned char *dst, long samples)
 
 #define conv_rgbaF_rgbP8    conv_rgbaF_rgba8
 
-static INLINE long
+static INLINE long __attribute__((unused))
 conv_rgbF_rgb8 (unsigned char *src, unsigned char *dst, long samples)
 {
   conv_F_8g (src, dst, samples * 3);
   return samples;
 }
 
-static INLINE long
+static INLINE long __attribute__((unused))
 conv_gaF_ga8 (unsigned char *src, unsigned char *dst, long samples)
 {
   conv_F_8 (src, dst, samples * 2);